#define _CRT_SECURE_NO_WARNINGS 1
#include<stdio.h>
int main()
{
    int x, y;
    char sym;
    scanf("%d %c %d", &x, &sym, &y);
    switch (sym)
    {
    case '+':
        printf("%d", x + y);
        break;
    case '-':
        printf("%d", x - y);
        break;
    case '*':
        printf("%d", x * y);
        break;
    case '/':
        printf("%d", x / y);
        break;
    case '%':
        printf("%d", x % y);
        break;
    default:
        printf("ERROR");
        break;
    }
    return 0;
}